home *** CD-ROM | disk | FTP | other *** search
/ Moving Worlds - Companion / Moving Worlds.iso / vrweb / lodtest.wrl < prev    next >
Text File  |  1995-07-26  |  411b  |  17 lines

  1. #VRML V1.0 ascii
  2. # test file for LOD (level of detail)
  3.  
  4. Material { diffuseColor 0 1 0 }
  5.  
  6. LOD {
  7.   center 0 0 0     # center of children
  8.   range [ 5, 10 ]  # increasing ranges
  9.   # for n ranges there should be n+1 children
  10.   # too few children: use last one
  11.   # too many children: ignored
  12.   Cube { }       # for [0, 3)
  13.   Sphere { }     # for [3, 5)
  14.   Cone { }       # for [5, inf)
  15. # Cylinder { }
  16. }
  17.